﻿using Module.AutoRun.ViewModels;
using Module.AutoRun.Views;
using Prism.Ioc;
using Prism.Modularity;
using Prism.Mvvm;
using Prism.Regions;

namespace Module.AutoRun
{
    public class AutoRunModule : IModule
    {
        public void OnInitialized(IContainerProvider containerProvider)
        {
            ViewModelLocationProvider.Register<PUC_ShowAdviceLabel4, PUC_ShowAdviceLabel6ViewModel>();
        }

        public void RegisterTypes(IContainerRegistry containerRegistry)
        {
            containerRegistry.RegisterForNavigation<PUC_AutoRun>();
            containerRegistry.RegisterForNavigation<PUC_MS_ScanBar>();
            containerRegistry.RegisterForNavigation<PUC_MS_StandAlone>();
            containerRegistry.RegisterForNavigation<PUC_ShowAdviceLabel4>();
            containerRegistry.RegisterForNavigation<PUC_ShowAdviceLabel6>();
            containerRegistry.RegisterForNavigation<PUC_MS_Clean>();
        }
    }
}